Make Tramp's async processes more robust
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 25 May 2024 15:23:30 +0000 (17:23 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 25 May 2024 15:23:30 +0000 (17:23 +0200)
commit91509d5d2a2dc818830cff63f13d6efcb229dc0c
tree3e1a8e148117c1227894cddd634526d5468e1729
parent129c6778e640f8ae9ba0eba9ad9ce81b4bf2328e
Make Tramp's async processes more robust

* lisp/simple.el (shell-command-sentinel): Check process property
`remote-command' first.

* lisp/net/tramp.el (tramp-handle-make-process):
* lisp/net/tramp-androidsu.el (tramp-androidsu-handle-make-process):
Set sentinel `ignore'.  (Bug#71049)

* test/lisp/net/tramp-tests.el
(tramp--test-deftest-direct-async-process): Don't suppress
internal sentinel.
(tramp-test32-shell-commanddirect-async): Don't tag it :unstable.
lisp/net/tramp-androidsu.el
lisp/net/tramp.el
lisp/simple.el
test/lisp/net/tramp-tests.el